var thiscompany;
var starttower=0;
var counttower=12;
var serachkeytower='';
var currentpagetower=1;
var CompanyProxy = Objs("model.CompanyProxy",
	Proxy,
{
	initialize: function( name,lists)
	{ 
		CompanyProxy.$super.initialize.call( this, name,lists);
		thiscompany=this;
		//alert("S");
	},	
	load:function()
	{  
		var pagelimit=new Object();
		pagelimit.start=start;
		pagelimit.count=count;
	//$("#progress").show();
		pagelimit.searchkey=$("#searchtower").val();
		$.ajax({
				type: "POST",
				url:"../services/CompanyService.php?action=gettowercompanies",
				data:pagelimit,
				success: function(data,status) {
				var towerdata= eval('(' + data + ')');
				thiscompany.sendNotification( NotificationNames.TOWERDATA, towerdata );	
				//$("#progress").hide();
				},
				error:function(error,response){
				}
			});
		
	}
});
 